<template>
	<view class="no-login">
		<!-- <image src="../../static/imgs/my/nologin@0.5x.png"></image> -->
		<span class="nologin-text">当前没有登录，请点击下方按钮进行登录~</span>
		<view
			class="login-button"
			style="width: 80%; margin-top: 50rpx"
		>
			<u-button
				type="primary"
				text="登录"
				@click="goToLogin"
			></u-button>
		</view>
	</view>
</template>

<script>
export default {
	name: 'my',
	data() {
		return {};
	},
	methods: {
		goToLogin() {
			uni.navigateTo({
				url: '/pages/login/login'
			});
		}
	}
};
</script>

<style lang="scss">
	.no-login{
		// width: ;
	}
</style>
